package com.zdft.promotion.test.api;

import com.zdft.promotion.common.vo.QueryRpcResultVO;
import com.zdft.promotion.warerepository.dto.WareRepositorysDto;
import com.zdft.promotion.warerepository.model.WareRepositorysRpcFilterModel;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class WarehouseServiceImpl {

    public int test() {
        return 1000;
    }

    public QueryRpcResultVO<WareRepositorysDto> queryRpcPage(WareRepositorysRpcFilterModel wareRepositorysRpcFilterModel) {
        List<WareRepositorysDto> list = new ArrayList<>();
        WareRepositorysDto model = new WareRepositorysDto();
        model.setId(111L);
        list.add(model);
        return new QueryRpcResultVO<>(5, list);
    }
}
